package com.classLoader;

import sun.misc.Launcher;

public class ClassLoaderTest {

    public static void main(String[] args) {

        ClassLoader appClassLoader = Launcher.getLauncher().getClassLoader();
        System.out.println(appClassLoader);

        ClassLoader systemClassLoader = ClassLoader.getSystemClassLoader();
        System.out.println(systemClassLoader);

        ClassLoader extClassLoader = systemClassLoader.getParent();
        System.out.println(extClassLoader);

        MyClassLoaderTest.MyClassLoader myClassLoader = new MyClassLoaderTest.MyClassLoader("");
        System.out.println(myClassLoader.getParent());
    }
}
